package com.kjc.demo.basic.util;

import java.util.Base64;

public class TestUtil {
	public static void main(String[] args) {
		String authentication = "admin900" + ":" + "MzA0ODAyOTQ3NjcxNzQyNzI3NTUxMjczNjA4Mjc2MjEzNzG";
		String basicAuth = "Basic " + Base64.getEncoder().encodeToString(authentication.getBytes());
		System.out.println(basicAuth);
	}
}
